/*
 * Ville.c
 *
 *  Created on: 2013-11-06
 *      Author: Jean-Simon
 */
#include "Ville.h"
namespace tp2
{
	Ville::Ville(const std::string& p_nom, const std::string& p_codeAeroport) :
			m_nom(p_nom), m_codeAeroport(p_codeAeroport)
	{
	}

	Ville::Ville()
	{
		m_codeAeroport = "";
		m_nom = "";
	}

	bool Ville::operator==(const Ville& p_ville) const
	{
		if (p_ville.m_nom == m_nom && p_ville.m_codeAeroport == m_codeAeroport)
			return true;
		else
			return false;
	}
}
